<script setup>
import Tabbar from './components/Tabbar.vue';
import { useRouter } from 'vue-router';

const router = useRouter();

function isClicked() {
  router.push('/login')
}

</script>

<template>
  <div>

    <div>
      <button @click="isClicked">click</button>
    </div>

    <div>
      <router-view></router-view>
      <Tabbar id="left"></Tabbar>
    </div>

  </div>
</template>

<style scoped>
  left{
    text-align: left;
  }
</style>